<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class maccueil extends CI_Model{
	public function getNews(){
		$this->db->order_by("date");
		return $this->db->get("k_news")->result();
	}
}